package cn.zyq.ykb.beans.user;

import cn.zyq.ykb.system.annotation.Excel;
import cn.zyq.ykb.system.common.BaseBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * pos用户对象 posUser
 *
 * @author SystemAuth
 * @date 2024-03-06
 */
@Data
@Entity
@Table(name = "`posUser`")
public class PosUser  extends BaseBean implements Serializable {
    /**
     * 主键id，用于关联
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "JDBC")
    @Column(name = "`posUserID`")
    @ApiModelProperty("主键id，用于关联")
    private Integer posUserID;
    /**
     * 姓名
     */
    @Column(name = "`name`")
    @ApiModelProperty("姓名")
    @Excel(name = "姓名")
    private String name;
    /**
     * 手机号
     */
    @Column(name = "`phone`")
    @ApiModelProperty("手机号")
    @Excel(name = "手机号")
    private String phone;
    /**
     * 地址
     */
    @Column(name = "`address`")
    @ApiModelProperty("地址")
    @Excel(name = "地址")
    private String address;
    /**
     * 来源平台
     */
    @Column(name = "`source`")
    @ApiModelProperty("来源平台")
    @Excel(name = "来源平台")
    private String source;
}
